package com.lzp.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.sql.DataSourceDefinition;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    private long total;         // 总记录数
    private List<T> rows;       // 每页的记录集合
    private Long totalPage;     // 总页数
    private Integer page;
}
